package com.ruoyi.roomNum.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 房间信息管理对象 wdmr_room_num
 * 
 * @author ruoyi
 * @date 2025-09-20
 */
public class RoomNum extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房间ID（主键） */
    private Long roomId;

    /** 房型ID（外键） */
    @Excel(name = "房型ID", readConverterExp = "外键")
    private Long roomTypeId;

    /** 商家ID（外键） */
    @Excel(name = "商家ID", readConverterExp = "外键")
    private Long merchantId;

    /** 房间号（如：2801） */
    @Excel(name = "房间号", readConverterExp = "如：2801")
    private String roomNumber;

    /** 所在楼层 */
    @Excel(name = "所在楼层")
    private Long floor;

    /** 房间状态：
    0=可售 1=已预订 2=入住中 3=清洁中 4=维修中 5=停用 */
    @Excel(name = "房间状态：0=可售 1=已预订 2=入住中 3=清洁中 4=维修中 5=停用")
    private String roomStatus;

    /** 特殊配置 */
    @Excel(name = "特殊配置")
    private String specialConfig;

    /** 状态（0正常 1禁用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=禁用")
    private String status;

    /** 删除标志（0存在 2删除） */
    private String delFlag;

    /** 版本号（乐观锁） */
    private Long version;

    public void setRoomId(Long roomId)
    {
        this.roomId = roomId;
    }

    public Long getRoomId()
    {
        return roomId;
    }

    public void setRoomTypeId(Long roomTypeId)
    {
        this.roomTypeId = roomTypeId;
    }

    public Long getRoomTypeId()
    {
        return roomTypeId;
    }

    public void setMerchantId(Long merchantId)
    {
        this.merchantId = merchantId;
    }

    public Long getMerchantId()
    {
        return merchantId;
    }

    public void setRoomNumber(String roomNumber)
    {
        this.roomNumber = roomNumber;
    }

    public String getRoomNumber()
    {
        return roomNumber;
    }

    public void setFloor(Long floor)
    {
        this.floor = floor;
    }

    public Long getFloor()
    {
        return floor;
    }

    public void setRoomStatus(String roomStatus)
    {
        this.roomStatus = roomStatus;
    }

    public String getRoomStatus()
    {
        return roomStatus;
    }

    public void setSpecialConfig(String specialConfig)
    {
        this.specialConfig = specialConfig;
    }

    public String getSpecialConfig()
    {
        return specialConfig;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public void setVersion(Long version)
    {
        this.version = version;
    }

    public Long getVersion()
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("roomId", getRoomId())
            .append("roomTypeId", getRoomTypeId())
            .append("merchantId", getMerchantId())
            .append("roomNumber", getRoomNumber())
            .append("floor", getFloor())
            .append("roomStatus", getRoomStatus())
            .append("specialConfig", getSpecialConfig())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("version", getVersion())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
